package com.dsp.bean;

import java.math.BigDecimal;
import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.AccessType;

import com.core.util.BaseBean;

@Entity
@Table(name = "employees")
public class Employee extends BaseBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2780876093506730286L;
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@AccessType(value = "property")
	@Column(name = "id")
	private Long id;

	@AccessType(value = "property")
	@Column(name = "empname")
	private String empname;

	@AccessType(value = "property")
	@Column(name = "empidn")
	private String empidn;

	@AccessType(value = "property")
	@Column(name = "sex")
	private Integer sex;

	@AccessType(value = "property")
	@Column(name = "job")
	private String job;

	@AccessType(value = "property")
	@Column(name = "bargain_begin")
	private Date bargainBegin;

	@AccessType(value = "property")
	@Column(name = "bargain_end")
	private Date bargainEnd;

	@AccessType(value = "property")
	@Column(name = "emp_month")
	private Integer empMonth;

	@AccessType(value = "property")
	@Column(name = "insure_base")
	private BigDecimal insureBase;

	@AccessType(value = "property")
	@Column(name = "provident_base")
	private BigDecimal providentBase;

	@AccessType(value = "property")
	@Column(name = "hukou")
	private Integer hukou;

	@AccessType(value = "property")
	@Column(name = "telphone")
	private String telphone;

	@AccessType(value = "property")
	@Column(name = "insure_card")
	private String insureCard;

	@AccessType(value = "property")
	@Column(name = "lose_card")
	private String loseCard;

	@AccessType(value = "property")
	@Column(name = "national")
	private Integer national;

	@AccessType(value = "property")
	@Column(name = "job_begin")
	private Date jobBegin;

	@AccessType(value = "property")
	@Column(name = "education")
	private Integer education;
	
	@AccessType(value = "property")
	@Column(name = "company")
	private Long company;
	
	@AccessType(value = "property")
	@Column(name = "py_code")
	private String pyCode;
	
	@AccessType(value = "property")
	@Column(name = "is_insure")
	private Integer isInsure;

	@AccessType(value = "property")
	@Column(name = "is_provident")
	private Integer isProvident;
	
	@AccessType(value = "property")
	@Column(name = "c_method")
	private String cMethod;
	
	
	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @return the empname
	 */
	public String getEmpname() {
		return empname;
	}

	/**
	 * @return the empidn
	 */
	public String getEmpidn() {
		return empidn;
	}

	/**
	 * @return the sex
	 */
	public Integer getSex() {
		return sex;
	}

	/**
	 * @return the job
	 */
	public String getJob() {
		return job;
	}

	/**
	 * @return the bargainBegin
	 */
	public Date getBargainBegin() {
		return bargainBegin;
	}

	/**
	 * @return the bargainEnd
	 */
	public Date getBargainEnd() {
		return bargainEnd;
	}

	/**
	 * @return the empMonth
	 */
	public Integer getEmpMonth() {
		return empMonth;
	}

	/**
	 * @return the insureBase
	 */
	public BigDecimal getInsureBase() {
		return insureBase;
	}

	/**
	 * @return the providentBase
	 */
	public BigDecimal getProvidentBase() {
		return providentBase;
	}

	/**
	 * @return the hukou
	 */
	public Integer getHukou() {
		return hukou;
	}

	/**
	 * @return the telphone
	 */
	public String getTelphone() {
		return telphone;
	}

	/**
	 * @return the insureCard
	 */
	public String getInsureCard() {
		return insureCard;
	}

	/**
	 * @return the loseCard
	 */
	public String getLoseCard() {
		return loseCard;
	}

	/**
	 * @return the national
	 */
	public Integer getNational() {
		return national;
	}

	/**
	 * @return the jobBegin
	 */
	public Date getJobBegin() {
		return jobBegin;
	}

	/**
	 * @return the education
	 */
	public Integer getEducation() {
		return education;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @param empname
	 *            the empname to set
	 */
	public void setEmpname(String empname) {
		this.empname = empname;
	}

	/**
	 * @param empidn
	 *            the empidn to set
	 */
	public void setEmpidn(String empidn) {
		this.empidn = empidn;
	}

	/**
	 * @param sex
	 *            the sex to set
	 */
	public void setSex(Integer sex) {
		this.sex = sex;
	}

	/**
	 * @param job
	 *            the job to set
	 */
	public void setJob(String job) {
		this.job = job;
	}

	/**
	 * @param bargainBegin
	 *            the bargainBegin to set
	 */
	public void setBargainBegin(Date bargainBegin) {
		this.bargainBegin = bargainBegin;
	}

	/**
	 * @param bargainEnd
	 *            the bargainEnd to set
	 */
	public void setBargainEnd(Date bargainEnd) {
		this.bargainEnd = bargainEnd;
	}

	/**
	 * @param empMonth
	 *            the empMonth to set
	 */
	public void setEmpMonth(Integer empMonth) {
		this.empMonth = empMonth;
	}

	/**
	 * @param insureBase
	 *            the insureBase to set
	 */
	public void setInsureBase(BigDecimal insureBase) {
		this.insureBase = insureBase;
	}

	/**
	 * @param providentBase
	 *            the providentBase to set
	 */
	public void setProvidentBase(BigDecimal providentBase) {
		this.providentBase = providentBase;
	}

	/**
	 * @param hukou
	 *            the hukou to set
	 */
	public void setHukou(Integer hukou) {
		this.hukou = hukou;
	}

	/**
	 * @param telphone
	 *            the telphone to set
	 */
	public void setTelphone(String telphone) {
		this.telphone = telphone;
	}

	/**
	 * @param insureCard
	 *            the insureCard to set
	 */
	public void setInsureCard(String insureCard) {
		this.insureCard = insureCard;
	}

	/**
	 * @param loseCard
	 *            the loseCard to set
	 */
	public void setLoseCard(String loseCard) {
		this.loseCard = loseCard;
	}

	/**
	 * @param national
	 *            the national to set
	 */
	public void setNational(Integer national) {
		this.national = national;
	}

	/**
	 * @param jobBegin
	 *            the jobBegin to set
	 */
	public void setJobBegin(Date jobBegin) {
		this.jobBegin = jobBegin;
	}

	/**
	 * @param education
	 *            the education to set
	 */
	public void setEducation(Integer education) {
		this.education = education;
	}

	/**
	 * @return the company
	 */
	public Long getCompany() {
		return company;
	}

	/**
	 * @param company the company to set
	 */
	public void setCompany(Long company) {
		this.company = company;
	}

	/**
	 * @return the pyCode
	 */
	public String getPyCode() {
		return pyCode;
	}

	/**
	 * @param pyCode the pyCode to set
	 */
	public void setPyCode(String pyCode) {
		this.pyCode = pyCode;
	}

	/**
	 * @return the isInsure
	 */
	public Integer getIsInsure() {
		return isInsure;
	}

	/**
	 * @return the isProvident
	 */
	public Integer getIsProvident() {
		return isProvident;
	}

	/**
	 * @return the cMethod
	 */
	public String getcMethod() {
		return cMethod;
	}

	/**
	 * @param isInsure the isInsure to set
	 */
	public void setIsInsure(Integer isInsure) {
		this.isInsure = isInsure;
	}

	/**
	 * @param isProvident the isProvident to set
	 */
	public void setIsProvident(Integer isProvident) {
		this.isProvident = isProvident;
	}

	/**
	 * @param cMethod the cMethod to set
	 */
	public void setcMethod(String cMethod) {
		this.cMethod = cMethod;
	}

}
